﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LiteFramework.Enum
{
    /// <summary>
    /// 数据类型
    /// </summary>
    public enum DataType
    {
        /// <summary>
        /// 0 : 字符串
        /// </summary>
        [Description("字符串")]
        String = 0,
        /// <summary>
        /// 1 : 布尔
        /// </summary>
        [Description("布尔")]
        Bool = 1,
        /// <summary>
        /// 2 : 日期
        /// </summary>
        [Description("日期")]
        DateTime = 2,
        /// <summary>
        /// 3 : 枚举
        /// </summary>
        [Description("枚举")]
        Enum = 3,
        /// <summary>
        /// 4 : Guid
        /// </summary>
        [Description("Guid")]
        Guid = 4,
        /// <summary>
        /// 5 : 整数
        /// </summary>
        [Description("整数")]
        Int = 5,
        /// <summary>
        /// 6 : 小数
        /// </summary>
        [Description("小数")]
        Decimal = 6,
        /// <summary>
        /// 字节
        /// </summary>
        [Description("字节")]
        Byte = 7,
        /// <summary>
        /// 字节数组
        /// </summary>
        [Description("字节数组")]
        Bytes = 8,
    }
}